#include <stdio.h>
int main()
{
	int high=100;
	double sum=100;
	double a=high;
	for(int i=1;i<=9;i++)
	{
		a=a/2;
		sum=sum+2*a;
	}
	printf("Sum=%lf\nhigh(10)=%lf\n",sum,a);
	return 0;
}